
<html>
<head>
<meta charset="UTF-8">
<title>表模型字典插入脚本</title>
<link href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<link href="../../static/css/esaas-easyui-view.css" rel="stylesheet" type="text/css"/>
<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../ffres/dict/all.js"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
<style>
pre{ 
	white-space:pre-wrap; /* css3.0 */ 
	white-space:-moz-pre-wrap; /* Firefox */ 
	white-space:-pre-wrap; /* Opera 4-6 */ 
	white-space:-o-pre-wrap; /* Opera 7 */ 
	word-wrap:break-word; /* Internet Explorer 5.5+ */ 
}
</style>
</head>
<body class="easyui-layout">
<form name="ff" id="ff" method="post">
	<div data-options="region:'center',title:''" >
	<form id="ff" >
		<div id="tt" class="easyui-tabs" fit="true" border="false">
			<div title="字典插入语句" style="padding:0px" border="false" fit="true">
				<table width="100%" cellspacing="0" cellpadding="0" border="0">
		    		<tr>
		    			<td>
		    				<textarea readonly="readonly" name="ddl" id="ddl" class="pre" style="overflow-x:hidden;height:343px;width:99.4%;"></textarea>
		    			</td>
		    		</tr>
	    		</table>
			</div>
		</div>
	</div>
	<div data-options="region:'south',split:false" style="height:60px;">
	    <div style="text-align:center;padding:15px">
	    	<a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	    </div>
	</div>
</form>
	<script>
	$(function() {
		var fieldId = $.getUrlParam('fieldId');
		$.restfulGet('../../api/dict/option/script/'
					+ fieldId, null, function(data) {
				$('#ff').form('load', {
					ddl : data.rows
				});
			});
		});
		function closeForm() {
			window.parent.JLEUtil.closewin();

		}
	</script>
</body>
</html>
